#pragma once

class Pos
{
	friend class Snake;
	friend class Food;
public:
	Pos() {};
	Pos(int x, int y);
	bool operator ==(const Pos& another);
	Pos operator +(const Pos& another);
	Pos operator -(const Pos& another);
protected:
	int _x = 0;
	int _y = 0;
};

